package com.acegear.horizon.domain.events;

/**
 * Created by wangsike on 2016/12/27.
 */
public class UserLeaveClubEvent extends BaseEvent {

  private Long userId;

  private Long clubId;

  public UserLeaveClubEvent() {

  }

  public UserLeaveClubEvent(Long userId, Long clubId) {
    this.userId = userId;
    this.clubId = clubId;
    genEventId();
  }

  public Long getUserId() {
    return userId;
  }

  public void setUserId(Long userId) {
    this.userId = userId;
  }

  public Long getClubId() {
    return clubId;
  }

  public void setClubId(Long clubId) {
    this.clubId = clubId;
  }

  @Override
  public String routingKey() {
    return "horizon.domain.userclub.leave";
  }

}
